﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>@Resources.Views.Shared.Layout.Title</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width" />

    @Styles.Render("~/Content/ltrCss")
    <!-- kendo css -->
	<link href="http://cdn.kendostatic.com/2013.1.319/styles/kendo.common.min.css" rel="stylesheet" type="text/css" />
	<link href="http://cdn.kendostatic.com/2013.1.319/styles/kendo.dataviz.min.css" rel="stylesheet" type="text/css" />
	<link href="http://cdn.kendostatic.com/2013.1.319/styles/kendo.default.min.css" rel="stylesheet" type="text/css" />
	<link href="http://cdn.kendostatic.com/2013.1.319/styles/kendo.rtl.min.css" rel="stylesheet" type="text/css" />
    <script  type="text/javascript">
        function cssLoaded(href) {
            for (var i = 0; i < document.styleSheets.length; i++) {
                sheet = document.styleSheets[i];
                if (sheet['href'].indexOf(href) >= 0 && sheet['cssRules'].length > 0) {
                    return true;
                }
            }
            return false;
        }
        (cssLoaded("http://cdn.kendostatic.com/2013.1.319/styles/kendo.common.min.css") || document.write(unescape("%3Clink href='@Styles.Url("~/Content/kendoui")'  rel='stylesheet' type='text/css' /%3E")));
    </script>




    <!-- modernizer -->
    <script src="http://ajax.aspnetcdn.com/ajax/modernizr/modernizr-2.0.6-development-only.js"></script>
    <script  type="text/javascript">
        // Fallback to Modernizr jQuery from a local path if the CDN is unavailable
        (window.Modernizr || document.write(unescape("%3Cscript src='@Scripts.Url("~/bundles/modernizr")' type='text/javascript'%3E%3C/script%3E")));
    </script>

</head>

<body>
    <div id="mainDiv">
        <!-- #wrapper -->
        <div id="wrapper">
            <!-- #header-->
            <header id="header">
                <div class="divRow">
                    <div id="logo">
                        <img src="/ImageEditting.axd?W=200&H=115&U=~/Images/Logo.png" alt="Sanadc" width="200px" height="115px" />
                    </div>
                    <div id="account">
                        @Html.Partial("_LoginPartial")
                    </div>
                    <div id="language">
                        <div class="button">
                            @Html.ActionLink("العربية", "ChangeCulture", "Home", new { Culture = "ar", returnUrl = this.Request.RawUrl }, null)
                        </div>
                    </div>
                </div>
                <div class="clearFlow"></div>
                        <div class="copyRight">@Resources.Views.Shared.Layout.CopyRight</div>
            </header>

            <!-- #middle-->
            <div id="middle">

                <!-- .sidebar#sideLeft -->
                <aside class="sidebar" id="sideLeft">
                    @(Html.Kendo().PanelBar()
                    .Name("PanelBar")
                    .HighlightPath(true)
                    .ExpandMode(PanelBarExpandMode.Single)
                    .Items(items =>
                    {
                        items.Add().Text(@Resources.Views.Shared.Layout.Home).Action("Index", "Home", new { culture = @ViewBag.Culture });
                        items.Add().Text(@Resources.Views.Shared.Layout.Products)
                            .Items(subitems =>
                            {
                                subitems.Add().Text(@Resources.Views.Shared.Layout.Ecs).Action("Ecs", "Products", new { culture = @ViewBag.Culture });
                                subitems.Add().Text(@Resources.Views.Shared.Layout.Lms).Action("Lms", "Products", new { culture = @ViewBag.Culture });
                            });
                        items.Add().Text(@Resources.Views.Shared.Layout.AboutUs).Action("About", "Home", new { culture = @ViewBag.Culture });
                        items.Add().Text(@Resources.Views.Shared.Layout.ContactUs).Action("Contact", "Home", new { culture = @ViewBag.Culture });
                        items.Add().Text(@Resources.Views.Shared.Layout.Admin)
                            .Items(subitems =>
                            {
                                subitems.Add().Text(@Resources.Views.Shared.Layout.Customers).Action("Customers", "Admin2", new { culture = @ViewBag.Culture });
                                subitems.Add().Text(@Resources.Views.Shared.Layout.Messages).Action("Messages", "Admin", new { culture = @ViewBag.Culture });
                                subitems.Add().Text(@Resources.Views.Shared.Layout.Users).Action("Users", "Admin2", new { culture = @ViewBag.Culture });
                            }); 
                    })
                    )

                </aside>

                <!-- #container-->
                <div id="container">
                    <!-- #navigation-->
                    <nav id="navigation">
                    </nav>
                    <!-- #content-->
                    <section id="content">
                        @RenderBody()
                    </section>
                </div>


                <!-- .sidebar#sideRight -->
                <aside class="sidebar" id="sideRight">
                    <p>sideRight</p>
                </aside>
                <div class="clearFlow"></div>
            </div>
        </div>
        <footer id="footer">
            <div class="copyRight">
                <div>&copy; @DateTime.Now.Year @Resources.Views.Shared.Layout.CopyRight</div>
            </div>
        </footer>
    </div>
    
    <!-- jquery -->
    <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.9.1.min.js"></script>
    <script src="http://ajax.aspnetcdn.com/ajax/mvc/3.0/jquery.unobtrusive-ajax.min.js"></script>
    <script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js"></script>
    <script src="http://ajax.aspnetcdn.com/ajax/mvc/3.0/jquery.validate.unobtrusive.min.js"></script>
    <script  type="text/javascript">
        // Fallback to Modernizr jQuery from a local path if the CDN is unavailable
        (window.jQuery || document.write(unescape("%3Cscript src='@Scripts.Url("~/bundles/jquery")' type='text/javascript'%3E%3C/script%3E")));
    </script>
    <!-- kendoui -->
	<script src="http://cdn.kendostatic.com/2013.1.319/js/kendo.all.min.js"></script>
	<script src="http://cdn.kendostatic.com/2013.1.319/js/kendo.aspnetmvc.min.js"></script>
    <script  type="text/javascript">
        // Fallback to Modernizr jQuery from a local path if the CDN is unavailable
        (window.kendo || document.write(unescape("%3Cscript src='@Scripts.Url("~/bundles/KendoUi")' type='text/javascript'%3E%3C/script%3E")));
    </script>
  

    @RenderSection("scripts", required: false)

</body>
</html>



